mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-16 10:37:26 -05:00
Co-authored-by: denny <dennis.sheirer@gmail.com>
This commit is contained in:
@@ -840,11 +840,16 @@ public class SDRTrunk implements Listener<TunerEvent>
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates the title bar with the tuner name
|
* Updates the title bar with the tuner name. No-op when running headless (no main window).
|
||||||
* @param tunerName optional
|
* @param tunerName optional
|
||||||
*/
|
*/
|
||||||
private void updateTitle(String tunerName)
|
private void updateTitle(String tunerName)
|
||||||
{
|
{
|
||||||
|
if(mMainGui == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(tunerName != null)
|
if(tunerName != null)
|
||||||
{
|
{
|
||||||
mMainGui.setTitle(mTitle + " - " + tunerName);
|
mMainGui.setTitle(mTitle + " - " + tunerName);
|
||||||
|
|||||||
Reference in New Issue
Block a user