Changing current table by right-click, the any action in the table-popup
2. select any other table by right-click - you should see context menu.
3. as example, select 'Empty table(s)'
4. I see message-box with 'No table(s) selected'.
Move code from several action events to new functions GetFocusedObjects and DBTreeClicked. Detect here whether tree or database tab was the one where user clicked the context menu, instead of just checking which of both is focused. See http://www.heidisql.com/forum.php?t=12351
Please login to leave a reply, or register at first.