Skip to content

Commit

Permalink
Fixed: mouse middle button does not close the tab
Browse files Browse the repository at this point in the history
  • Loading branch information
eranif committed Apr 16, 2024
1 parent 47a88e3 commit 3b6d532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LiteEditor/mainbook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void MainBook::CreateGuiControls()
}
#else
long style = kNotebook_NewButton | kNotebook_AllowDnD | kNotebook_CloseButtonOnActiveTab |
kNotebook_ShowFileListButton | kNotebook_EnableNavigationEvent;
kNotebook_ShowFileListButton | kNotebook_EnableNavigationEvent | kNotebook_MouseMiddleClickClosesTab;
#endif

// load the notebook style from the configuration settings
Expand Down

0 comments on commit 3b6d532

Please sign in to comment.