Qt: add an hint to no interfaces label.

Change-Id: Ifae80b5e3d56ddbea93164ff778196358976360d
Reviewed-on: https://code.wireshark.org/review/30030
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Dario Lombardo 2018-10-05 09:57:06 +02:00 committed by Anders Broman
parent 73f9f7ad62
commit 4e38af0e74
1 changed files with 2 additions and 2 deletions

View File

@ -251,7 +251,7 @@ void InterfaceFrame::resetInterfaceTreeDisplay()
ui->lblNoInterfaces->setHidden(false);
ui->lblNoInterfaces->setText( proxyModel.interfaceError() );
if ( prefs.capture_no_interface_load )
ui->lblNoInterfaces->setText( "Interfaces not loaded (due to preference)" );
ui->lblNoInterfaces->setText( "Interfaces not loaded (due to preference). Go to Capture -> Refresh Interfaces to load." );
}
else
{
@ -375,7 +375,7 @@ void InterfaceFrame::getPoints(int idx, PointList * pts)
void InterfaceFrame::showRunOnFile(void)
{
ui->lblNoInterfaces->setText("Interfaces not loaded on startup (run on capture file)");
ui->lblNoInterfaces->setText("Interfaces not loaded on startup (run on capture file). Go to Capture -> Refresh Interfaces to load.");
}
/*