Skip to content
Snippets Groups Projects
Commit 22361fc0 authored by Eric Oulashin's avatar Eric Oulashin Committed by Rob Swindell
Browse files

DDMsgReader: Bug fix - For indexed newscan without snap-to-new, ensure it...

DDMsgReader: Bug fix - For indexed newscan without snap-to-new, ensure it remembers the user's previously selected sub-board (reported by Keyop)
parent a1c5e191
Branches
Tags
1 merge request!480DDMsgReader: Bug fix - For indexed newscan without snap-to-new, ensure it remembers the user's previously selected sub-board (reported by Keyop)
......@@ -202,6 +202,9 @@
* New user option & behavior: When selecting/toggling messages
* in the message list, the user can now optionally have the cursor
* go to the next message.
* 2024-12-04 Eric Oulashin Version 1.96g
* Bug fix: For indexed newscan without snap-to-new, go back to
* remembering the user's previously selected sub-board
*/
 
"use strict";
......@@ -309,7 +312,7 @@ var hexdump = load('hexdump_lib.js');
 
 
// Reader version information
var READER_VERSION = "1.96f";
var READER_VERSION = "1.96g";
var READER_DATE = "2024-12-04";
 
// Keyboard key codes for displaying on the screen
......@@ -16777,7 +16780,8 @@ function DigDistMsgReader_IndexedModeChooseSubBoard(pClearScreen, pDrawMenu, pDi
// Also, build an array of sub-board codes for each menu item.
this.indexedModeMenu.RemoveAllItems();
setIndexedSubBoardMenuSelectedItemIdx(this.indexedModeMenu, 0);
DigDistMsgReader_IndexedModeChooseSubBoard.selectedItemIdx = 0;
if (newScanOnly && this.userSettings.indexedModeMenuSnapToFirstWithNew)
DigDistMsgReader_IndexedModeChooseSubBoard.selectedItemIdx = 0;
var numSubBoards = 0;
var totalNewMsgs = 0;
for (var grpIdx = 0; grpIdx < msg_area.grp_list.length; ++grpIdx)
......@@ -17082,6 +17086,7 @@ function DigDistMsgReader_IndexedModeChooseSubBoard(pClearScreen, pDrawMenu, pDi
}
}
console.attributes = "N";
//DigDistMsgReader_IndexedModeChooseSubBoard.selectedItemIdx = this.indexedModeMenu.selectedItemIdx;
return retObj;
}
 
......@@ -5,7 +5,7 @@
// If you have DDMsgReader in a directory other than xtrn/DDMsgReader, then the changes to
// DDMsgReader.cfg will be saved in that directory (assuming you're running ddmr_cfg.js from
// that same directory).
// Currently for DDMsgReader 1.96f.
// Currently for DDMsgReader 1.96g.
//
// If you're running DDMsgReader from xtrn/DDMsgReader (the standard location) and you want
// to save the configuration file there (rather than sbbs/mods), you can use one of the
......@@ -18,7 +18,7 @@ require("sbbsdefs.js", "P_NONE");
require("uifcdefs.js", "UIFC_INMSG");
if (!uifc.init("DigDist. Message Reader 1.96f Configurator"))
if (!uifc.init("DigDist. Message Reader 1.96g Configurator"))
{
print("Failed to initialize uifc");
exit(1);
......
This diff is collapsed.
......@@ -5,6 +5,8 @@ Revision History (change log)
=============================
Version Date Description
------- ---- -----------
1.96g 2024-12-04 Bug fix: For indexed newscan without snap-to-new, go back
to remembering the user's previously selected sub-board
1.96f 2024-12-04 New user option & behavior: When selecting/toggling
messages in the message list, the user can now optionally
have the cursor go to the next message.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment