mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-14 17:47:32 -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());
|
mAliasListCombo.setSelectedItem(channel.getAliasListName());
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
setControlsEnabled(false);
|
|
||||||
mChannelName.setText(null);
|
|
||||||
}
|
|
||||||
|
|
||||||
if(channel.isAutoStart())
|
if(channel.isAutoStart())
|
||||||
{
|
{
|
||||||
@@ -319,6 +313,13 @@ public class NameConfigurationEditor extends Editor<Channel> implements Document
|
|||||||
}
|
}
|
||||||
|
|
||||||
mAutoStartOrder.setValue(channel.hasAutoStartOrder() ? channel.getAutoStartOrder() : 0);
|
mAutoStartOrder.setValue(channel.hasAutoStartOrder() ? channel.getAutoStartOrder() : 0);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
setControlsEnabled(false);
|
||||||
|
mChannelName.setText(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
setModified(false);
|
setModified(false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user