mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
wip: adds call priority and non-recordable editors to the alias
multi-select editor. Changes example hyperlink to 'Help'. Ensures editor only allows 1 instance of call priority or non-recordable can be added to any alias.
This commit is contained in:
@@ -228,9 +228,14 @@ public class AliasActionEditor extends Editor<Alias>
|
||||
@Override
|
||||
public void save()
|
||||
{
|
||||
if( mEditorContainer.isModified() )
|
||||
if( isModified() || mEditorContainer.isModified() )
|
||||
{
|
||||
mEditorContainer.save();
|
||||
if( mEditorContainer.isModified() )
|
||||
{
|
||||
mEditorContainer.save();
|
||||
}
|
||||
|
||||
setModified( false );
|
||||
|
||||
if( hasItem() )
|
||||
{
|
||||
@@ -316,6 +321,8 @@ public class AliasActionEditor extends Editor<Alias>
|
||||
setItem( alias );
|
||||
|
||||
mAliasActionList.setSelectedValue( action, true );
|
||||
|
||||
AliasActionEditor.this.setModified( true );
|
||||
}
|
||||
} );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user