mirror of
https://github.com/tnodir/fort
synced 2024-11-14 16:33:45 +00:00
UI: MyFort: Hide "Service Logs" when it is same as "Logs"
This commit is contained in:
parent
d0e3eaa7d2
commit
977ca338f7
@ -215,7 +215,8 @@ QLayout *HomeWindow::setupDialogButtons()
|
||||
m_btHelp = createFlatToolButton(
|
||||
":/icons/help.png", "https://github.com/tnodir/fort/wiki/User-Guide");
|
||||
|
||||
m_btServiceLogs->setVisible(settings()->hasService());
|
||||
m_btServiceLogs->setVisible(
|
||||
settings()->hasService() && settings()->profileLogsPath() != settings()->logsPath());
|
||||
|
||||
connect(m_btProfile, &QAbstractButton::clicked, ctrl(), &BaseController::onLinkClicked);
|
||||
connect(m_btLogs, &QAbstractButton::clicked, ctrl(), &BaseController::onLinkClicked);
|
||||
|
Loading…
Reference in New Issue
Block a user