minor fix for separator in windowmenu
This commit is contained in:
parent
5c4291ab12
commit
805f581932
1 changed files with 4 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: MenuCreator.cc,v 1.1 2004/05/02 20:59:29 fluxgen Exp $
|
// $Id: MenuCreator.cc,v 1.2 2004/05/02 22:17:00 fluxgen Exp $
|
||||||
|
|
||||||
#include "MenuCreator.hh"
|
#include "MenuCreator.hh"
|
||||||
|
|
||||||
|
@ -413,7 +413,9 @@ bool MenuCreator::createWindowMenuItem(const std::string &type,
|
||||||
&win,
|
&win,
|
||||||
false));
|
false));
|
||||||
|
|
||||||
} else
|
} else if (type == "separator") {
|
||||||
|
menu.insert("---");
|
||||||
|
} else
|
||||||
return false;
|
return false;
|
||||||
#undef WINDOWNLS
|
#undef WINDOWNLS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue