mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-19 20:17:25 -05:00
Cleanup from last PR.
This commit is contained in:
@@ -300,12 +300,6 @@ public class NameConfigurationEditor extends Editor<Channel> implements Document
|
||||
{
|
||||
mAliasListCombo.setSelectedItem(channel.getAliasListName());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
setControlsEnabled(false);
|
||||
mChannelName.setText(null);
|
||||
}
|
||||
|
||||
if(channel.isAutoStart())
|
||||
{
|
||||
@@ -319,6 +313,13 @@ public class NameConfigurationEditor extends Editor<Channel> implements Document
|
||||
}
|
||||
|
||||
mAutoStartOrder.setValue(channel.hasAutoStartOrder() ? channel.getAutoStartOrder() : 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
setControlsEnabled(false);
|
||||
mChannelName.setText(null);
|
||||
}
|
||||
|
||||
|
||||
setModified(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user