#848 Random Reversion to Unedited Code when Toggling the 3 switches (at Top Left) on the Right Hand Pane! fixed

This commit is contained in:
honfika@gmail.com
2015-04-09 08:39:55 +02:00
parent 22751367cd
commit 7ee0351167
7 changed files with 43 additions and 36 deletions

View File

@@ -12,7 +12,8 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
* License along with this library.
*/
package com.jpexs.decompiler.flash.action;
import com.jpexs.decompiler.flash.DisassemblyListener;
@@ -342,7 +343,7 @@ public class ActionListReader {
return next
? (min < actions.size() ? actions.get(min).getAddress() : -1)
? (min < actions.size() ? actions.get(min).getAddress() : -1)
: (max >= 0 ? actions.get(max).getAddress() : -1);
}
private static Map<Long, Action> actionListToMap(List<Action> actions) {

View File

@@ -56,6 +56,10 @@ public class FolderItem implements TreeItem {
@Override
public boolean isModified() {
if (subItems == null) {
return false;
}
for (TreeItem ti : subItems) {
if (ti.isModified()) {
return true;