mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2026-10-20 12:17:58 +00:00
fix update toolboxes
This commit is contained in:
1 parent
e7d2e0bd38
commit
28d51484b1
1 file changed
+3
@@ -83,6 +83,7 @@ void MainWindow::setMenuActionsShown(const bool state)
|
|||||||
void MainWindow::updateMenuMain()
|
void MainWindow::updateMenuMain()
|
||||||
{
|
{
|
||||||
if (debug) qDebug() << PDEBUG;
|
if (debug) qDebug() << PDEBUG;
|
||||||
|
setMenuActionsShown(false);
|
||||||
|
|
||||||
toolBarActions[QString("mainRefresh")]->setVisible(true);
|
toolBarActions[QString("mainRefresh")]->setVisible(true);
|
||||||
if (ui->tableWidget_main->currentItem() == 0) return;
|
if (ui->tableWidget_main->currentItem() == 0) return;
|
||||||
@@ -117,6 +118,7 @@ void MainWindow::updateMenuMain()
|
|||||||
void MainWindow::updateMenuProfile()
|
void MainWindow::updateMenuProfile()
|
||||||
{
|
{
|
||||||
if (debug) qDebug() << PDEBUG;
|
if (debug) qDebug() << PDEBUG;
|
||||||
|
setMenuActionsShown(false);
|
||||||
|
|
||||||
toolBarActions[QString("profileClear")]->setVisible(true);
|
toolBarActions[QString("profileClear")]->setVisible(true);
|
||||||
if (ui->comboBox_profile->currentText().isEmpty()) {
|
if (ui->comboBox_profile->currentText().isEmpty()) {
|
||||||
@@ -134,6 +136,7 @@ void MainWindow::updateMenuProfile()
|
|||||||
void MainWindow::updateMenuWifi()
|
void MainWindow::updateMenuWifi()
|
||||||
{
|
{
|
||||||
if (debug) qDebug() << PDEBUG;
|
if (debug) qDebug() << PDEBUG;
|
||||||
|
setMenuActionsShown(false);
|
||||||
|
|
||||||
toolBarActions[QString("wifiRefresh")]->setVisible(true);
|
toolBarActions[QString("wifiRefresh")]->setVisible(true);
|
||||||
if (ui->tableWidget_wifi->currentItem() == 0) return;
|
if (ui->tableWidget_wifi->currentItem() == 0) return;
|
||||||
|
|||||||
Reference in new issue
Block a user