Skip to content

Commit

Permalink
[win-linux] fix bug 72143
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplestStudio committed Dec 18, 2024
1 parent bab99d7 commit 914188e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win-linux/src/windows/cmainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ void CMainWindow::setTabMenu(int index, CTabPanel *panel)
connect(actCloseSaved, &QAction::triggered, this, [=]() {
for (int i(m_pTabs->count()); !(--i < 0);) {
CAscTabData *doc = m_pTabs->panel(i)->data();
if (doc->isViewType(cvwtEditor) && !doc->closed() && doc->isLocal() && !doc->hasChanges() && !doc->url().empty()) {
if (doc->isViewType(cvwtEditor) && !doc->closed() && !doc->hasChanges() && !doc->url().empty()) {
onTabCloseRequest(i);
Utils::processMoreEvents();
}
Expand Down

0 comments on commit 914188e

Please sign in to comment.