mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-10 17:25:21 +00:00
#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:
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user