Skip to content

Commit 9d6fa50

Browse files
Merge pull request #2318 from KLayout/bugfix/issue-2311
Fixed issue #2311
2 parents 386e780 + 60480d3 commit 9d6fa50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/edt/edt/edtPlugin.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ class MainPluginDeclaration
367367

368368
lay::Action *combine_menu = mp->menu ()->action ("@toolbar.combine_mode");
369369

370-
if (cm != CM_Add && combine_menu->is_visible ()) {
370+
if (cm != CM_Add && combine_menu->is_visible () && mp->menu_parent_widget ()->isVisible ()) {
371371
lay::TipDialog td (QApplication::activeWindow (),
372372
tl::to_string (tr ("The background combination mode of the shape editor is set to some other mode than 'Add'.\n"
373373
"This can be confusing, because a shape may not be drawn as expected.\n\nTo switch back to normal mode, choose 'Add' for the background combination mode in the toolbar.")),

0 commit comments

Comments
 (0)