Merge pull request #1200 from GlOwl/patch-1
fixed printing/removing order
This commit is contained in:
commit
dfcae87af6
|
@ -254,9 +254,10 @@ void Stations::deselect(int num) {
|
|||
void Stations::remove(int num) {
|
||||
if (!check(num)) return;
|
||||
|
||||
internal_remove(num);
|
||||
prnt(ST_REMOVED_STATION);
|
||||
prntln(num);
|
||||
|
||||
internal_remove(num);
|
||||
changed = true;
|
||||
}
|
||||
|
||||
|
@ -364,4 +365,4 @@ void Stations::internal_removeAll() {
|
|||
free(getTime(i));
|
||||
}
|
||||
list->clear();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue