opnsense-ports/sysutils/qpxtool/files/patch-gui_src_mainwindow.cpp
Franco Fichtner c0ce196c0c */*: sync with upstream
Taken from: FreeBSD
2017-02-06 05:57:52 +01:00

11 lines
287 B
C++

--- gui/src/mainwindow.cpp.orig 2012-12-03 07:13:07 UTC
+++ gui/src/mainwindow.cpp
@@ -426,7 +426,7 @@ void QPxToolMW::selectTab()
int idx;
QAction *act = (QAction*) sender();
idx = act_sblist.indexOf(act);
- if (act<0) return;
+ if (idx<0) return;
mwidget->selectTab(idx);
}